package com.cloudfun.campusshare.configuration.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.validation.beanvalidation.MethodValidationPostProcessor;

/**
 * Created by Huqin on 2020/1/19
 */
@Configuration
public class MethodValidationPostProcessorConfig {

    @Bean
    public MethodValidationPostProcessor mvp() {
        return new MethodValidationPostProcessor();
    }

}
